home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
14642
/
14642.xpi
/
chrome
/
content
/
settings.xul
< prev
Wrap
Extensible Markup Language
|
2009-10-15
|
11KB
|
251 lines
<?xml version="1.0"?>
<!-- Copyright 2009, Boomtango.com, All Rights Reserved -->
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css" ?>
<?xml-stylesheet href="chrome://boomtango/skin/bt.css" type="text/css" ?>
<!DOCTYPE page SYSTEM "chrome://boomtango/locale/bt.dtd">
<prefwindow
type="prefwindow"
windowtype="Browser:Preferences"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
id="boomtangoSettings"
title="&settings.title;"
dlgbuttons="accept"
ondialogaccept="return mgr.onOK()"
onload="mgr.onLoad();"
>
<script src="chrome://boomtango/content/settings.js" />
<prefpane id="general" class="paneContent" label="&settings.general.title;">
<preferences id="contentPreferences">
<preference id="extensions.boomtango.confirmdelete" name="extensions.boomtango.confirmdelete" type="bool"/>
<preference id="extensions.boomtango.useserp" name="extensions.boomtango.useserp" type="bool"/>
</preferences>
<grid>
<columns><column/><column/></columns>
<rows>
<row>
<label value="&settings.general.defaultview;" class="menuLabel"/>
<menulist id="defaultView"
onselect="mgr.panes['general'].onDefaultView();">
<menupopup>
</menupopup>
</menulist>
</row>
<row>
<label value="&settings.general.defaultdur;" class="menuLabel"/>
<menulist id="defaultDur"
onselect="mgr.panes['general'].onDefaultDur();">
<menupopup>
</menupopup>
</menulist>
</row>
<row>
<label value="&settings.general.searchresultsperpage;" class="menuLabel"/>
<menulist id="numPerPage"
onselect="mgr.panes['general'].onPerPageChange();">
<menupopup>
</menupopup>
</menulist>
</row>
<row>
<label value="&settings.general.tabdelay;" class="menuLabel"/>
<menulist id="tabDelay"
onselect="mgr.panes['general'].onTabDelayChange();">
<menupopup>
</menupopup>
</menulist>
</row>
<row>
<label value="&settings.general.itemspercat;" class="menuLabel"/>
<menulist id="itemsPerCat"
onselect="mgr.panes['general'].onItemsPerCatChange();">
<menupopup>
</menupopup>
</menulist>
</row>
<row>
<vbox align="start">
<checkbox id="" preference="extensions.boomtango.confirmdelete"
label="&settings.general.askbeforehistorydelete;" />
</vbox>
</row>
<row>
<vbox align="start">
<checkbox id="" preference="extensions.boomtango.useserp"
label="&settings.general.useserp;" />
</vbox>
</row>
<row>
<vbox align="start">
<checkbox id="usethumb" onclick="mgr.panes['general'].onThumbClick();"
label="&settings.general.usethumb;" />
</vbox>
</row>
<row>
<checkbox id="uselog" onclick="mgr.panes['general'].onLogClick();"
label="&settings.general.uselog;" />
<button label="&settings.general.showlog;"
onclick="mgr.panes['general'].onShowLog();" />
</row>
</rows>
</grid>
<groupbox style="margin-top: 50px;">
<caption label="&settings.general.info.title;" />
<label id="btversion" />
<label id="dbversion" />
</groupbox>
</prefpane>
<prefpane id="storage" label="&settings.storage.title;">
<groupbox>
<caption label="&settings.storage.manage.title;" />
<grid>
<columns><column/><column/></columns>
<rows>
<row id="deleteHistoryRow">
<label id="deleteHistoryLabel" value="&settings.storage.delete.title;" class="menuLabel"/>
<button id="deleteHistoryButton" label="&settings.storage.delete;"
accesskey=""/>
</row>
<row id="deleteThumbnailRow">
<label id="deleteThumbnailLabel" value="&settings.storage.clearthumb.title;" class="menuLabel"/>
<button id="deleteThumbnailButton" label="&settings.storage.clear;"
oncommand="mgr.panes['storage'].onDeleteThumbs()"
accesskey=""/>
</row>
</rows>
</grid>
</groupbox>
<groupbox>
<caption label="&settings.storage.backup.title;" />
<hbox>
<textbox id="backup_textbox" flex="1"
oninput="mgr.panes['storage'].onBackupInput(event.target);"/>
<button id="tracker_import" label="&settings.storage.backup.saveas;"
onclick="mgr.panes['storage'].onChooseBackup();"/>
</hbox>
<hbox>
<button id="backup_button" label="&settings.storage.backup.title;"
disabled="true"
onclick="mgr.panes['storage'].onBackup();"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&settings.storage.restore.title;" />
<description value="&settings.storage.restore.description;" />
<hbox>
<textbox id="restore_textbox" flex="1"
oninput="mgr.panes['storage'].onRestoreInput(event.target);"/>
<button label="&settings.storage.restore.choose;"
onclick="mgr.panes['storage'].onChooseRestore();"/>
</hbox>
<hbox>
<button id="restore_button" label="&settings.storage.restore.title;"
disabled="true"
onclick="mgr.panes['storage'].onRestore();"/>
</hbox>
</groupbox>
</prefpane>
<prefpane id="blacklist" label="&settings.blacklist.title;">
<vbox flex="1">
<description control="address" value="&settings.blacklist.description;" />
<separator class="thin"/>
<label id="urlLabel" control="url" value="&settings.blacklist.url;"/>
<hbox align="start">
<textbox id="address" flex="1"
oninput="mgr.panes['blacklist'].onAddressInput(event.target);"
onkeypress="mgr.panes['blacklist'].onAddressKeyPress(event);"/>
</hbox>
<hbox pack="end">
<button id="address_block" disabled="true" label="&settings.blacklist.block;"
oncommand="mgr.panes['blacklist'].onAddressBlock()"/>
</hbox>
<separator class="thin"/>
<listbox id="blacklist_list" seltype="single" onselect="mgr.panes['blacklist'].onListSelect();"/>
<hbox align="end">
<hbox class="actionButtons" flex="1">
<button id="address_remove" disabled="true"
icon="remove" label="&settings.blacklist.remove;"
oncommand="mgr.panes['blacklist'].onAddressRemove()"/>
<button id="address_remove_all" disabled="true"
icon="clear" label="&settings.blacklist.removeall;"
oncommand="mgr.panes['blacklist'].onAddressRemoveAll()"/>
<spacer flex="1"/>
</hbox>
<resizer dir="bottomend"/>
</hbox>
</vbox>
</prefpane>
<prefpane id="tracking" label="&settings.tracking.title;">
<label value="" />
<listbox id="tracker" seltype="single" onselect="mgr.panes['tracking'].onListSelect();"/>
<groupbox>
<caption id="tracker_current" />
<description id="tracker_desc" >
</description>
<checkbox id="tracker_enable" label="&settings.tracking.enable;"
onclick="mgr.panes['tracking'].onEnable();"/>
<hbox>
<label value="&settings.tracking.color;" />
<colorpicker id="tracker_color"
onchange="mgr.panes['tracking'].onColor();" type="button" />
<button id="tracker_resetcolor" label="&settings.tracking.reset;"
onclick="mgr.panes['tracking'].onResetColor();"/>
<spacer flex="1" />
</hbox>
<hbox>
<label id="plugin_url" value="&settings.tracking.plugincheck;" class="text-link" />
<spacer flex="1"/>
<hbox id="tracker_version" hidden="true">
<label value="&settings.tracking.pluginversion;" />
<label id="plugin_version" />
</hbox>
</hbox>
<hbox>
<button id="tracker_advanced" label="&settings.tracking.advanced;"
hidden="true"
onclick="mgr.panes['tracking'].onAdvanced();"/>
<spacer flex="1" />
<button id="tracker_delete" label="&settings.tracking.delete;"
onclick="mgr.panes['tracking'].onDelete();"/>
</hbox>
</groupbox>
<groupbox>
<caption label="&settings.tracking.thirdparty;" />
<hbox>
<button id="tracker_import" label="&settings.tracking.import;"
onclick="mgr.panes['tracking'].onImport();"/>
<spacer flex="1" />
</hbox>
<hbox>
<label value="&settings.tracking.link;"
class="text-link"
href="http://www.boomtango.com/plugins.shtml"
/>
<spacer flex="1" />
</hbox>
</groupbox>
<groupbox>
<caption label="&category.create;" />
<hbox>
<button id="tracker_create" label="&settings.tracking.create;"
onclick="mgr.panes['tracking'].onCreate();"/>
<spacer flex="1" />
</hbox>
</groupbox>
</prefpane>
</prefwindow>